package br.com.ac.fatureweb.enums;

/**
 * Enumeração dos tipos de saída de um relatório.
 *
 */
public enum EnumTypeReport {

	PDF(".pdf", "application/pdf"),

	XLS(".xls", "application/vnd.ms-excel"),

	TEXT(".txt", "text/plain"),

	RTF(".rtf", "text/rtf"),

	HTML(".html", "text/html"),

	CSV(".csv", "text/csv");

	private String extension;

	private String mimetype;

	/**
	 * 
	 * @param extension
	 * @param mimetype
	 */
	EnumTypeReport(final String extension, final String mimetype) {
		this.extension = extension;
		this.mimetype = mimetype;
	}

	/**
	 * 
	 * @return
	 */
	public String getExtension() {
		return extension;
	}

	/**
	 * 
	 * @param extension
	 */
	public void setExtension(final String extension) {
		this.extension = extension;
	}

	/**
	 * 
	 * @return
	 */
	public String getMimetype() {
		return mimetype;
	}

	/**
	 * 
	 * @param mimetype
	 */
	public void setMimetype(final String mimetype) {
		this.mimetype = mimetype;
	}

}
